negotiator.boaframework
Class OutcomeTuple

java.lang.Object
  extended by negotiator.boaframework.OutcomeTuple

public class OutcomeTuple
extends java.lang.Object

This class is a container which holds the necessary information so that a particular NegotiationOutcome of the multi-acceptance criteria (MAC) can be reconstructed given a full negotiation outcome. The MAC technique runs multiple negotiation outcomes in parallel during a single negotiation. The negotiation ends when the deadline has been reached, or when all acceptance criteria accepted. Normally, a single match results in a single negotiation outcome. However, in this case there are multiple acceptance criteria each resulting in a subset of the full negotiation trace. This class aids in generating this new outcome.

Author:
Alex Dirkwager

Constructor Summary
OutcomeTuple(Bid lastBid, java.lang.String name, double time, int agentASize, int agentBSize, java.lang.String logMsg, java.lang.String acceptedBy)
           
 
Method Summary
 java.lang.String getAcceptedBy()
           
 int getAgentASize()
           
 int getAgentBSize()
           
 Bid getLastBid()
           
 java.lang.String getLogMsgType()
           
 java.lang.String getName()
           
 double getTime()
           
 void setAcceptedBy(java.lang.String acceptedBy)
           
 void setAgentASize(int agentASize)
           
 void setAgentBSize(int agentBSize)
           
 void setLastBid(Bid lastBid)
           
 void setName(java.lang.String name)
           
 void setTime(double time)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OutcomeTuple

public OutcomeTuple(Bid lastBid,
                    java.lang.String name,
                    double time,
                    int agentASize,
                    int agentBSize,
                    java.lang.String logMsg,
                    java.lang.String acceptedBy)
Method Detail

getAcceptedBy

public java.lang.String getAcceptedBy()

setAcceptedBy

public void setAcceptedBy(java.lang.String acceptedBy)

getAgentASize

public int getAgentASize()

setAgentASize

public void setAgentASize(int agentASize)

getAgentBSize

public int getAgentBSize()

setAgentBSize

public void setAgentBSize(int agentBSize)

getLastBid

public Bid getLastBid()

setLastBid

public void setLastBid(Bid lastBid)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getTime

public double getTime()

setTime

public void setTime(double time)

getLogMsgType

public java.lang.String getLogMsgType()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object